<%@page import="com.bill.common.business.service.IMatchService"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ include file="../language.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><fmt:message key="i18n.optResult"/>-<fmt:message key="i18n.title"/> </title>
<link rel="shortcut icon" href="../index/favicon.png" />
<link rel="stylesheet" type="text/css" href="css/style1.css">
<script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="../scripts/script.js"></script>
</head>
<body>
<div>
	<br><br>
	<div align="center" style="font-size: 24px;"><fmt:message key="i18n.optResult"/></div>
	<!-- <div class="left"></div> -->
    <div>
    	<div style="font-size: 16px;padding:75px 15px 35px 15px;text-align: center;">
  			${resultStr}
  			<c:if test="${resultStr eq '收款确认操作成功!'}">
  				<%
  					System.out.println("进来了///////////");
	  				ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
	  				IMatchService matchService = (IMatchService)ac.getBean("matchService");
	  				matchService.checkCompute();
  				%>
  			</c:if>
  			<br><br>
		</div>
		<div style="font-size: 20px;padding:15px;text-align: center;">
  			<br><br>
  			<a href="${pageUrl}">>><fmt:message key="i18n.backToUpPage"/></a>
		</div>
    </div>
</div>
<!-- 主体内容 -->
<%-- <div id="contentwrapper">
	<div class="main_content">
		<nav>
            <div id="jCrumbs" class="breadCrumb module">
                <ul>
                    <li>
                        <a href="main.jsp"><i class="icon-home"></i></a>
                    </li>
                    <li>
                        <a><fmt:message key="i18n.optResult"/></a>
                    </li>
                </ul>
            </div>
         </nav>
         
         <div style="font-size: 14px;padding: 5px;text-align: center;">
  			${resultStr}
  			
  			<br><br>
  			<a href="${pageUrl}">>><fmt:message key="i18n.backToUpPage"/></a>
		</div>
         
     </div>
</div> --%>
</body>
</html>